package com.tjetc.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.tjetc.mapper.MedicineListMapper;
import com.tjetc.domain.MedicineList;
import com.tjetc.service.MedicineListService;
@Service
public class MedicineListServiceImpl implements MedicineListService{

    @Resource
    private MedicineListMapper medicineListMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return medicineListMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MedicineList record) {
        return medicineListMapper.insert(record);
    }

    @Override
    public int insertSelective(MedicineList record) {
        return medicineListMapper.insertSelective(record);
    }

    @Override
    public MedicineList selectByPrimaryKey(Integer id) {
        return medicineListMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MedicineList record) {
        return medicineListMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MedicineList record) {
        return medicineListMapper.updateByPrimaryKey(record);
    }

}
